2 // BBBackgroundView.swift
5 // Created by Ruben Beltran del Rio on 2/8/23.
6 // Copyright © 2023 BRNBW. All rights reserved.
12 class BackgroundView: QSBezelBackgroundView {
14 override func draw(_ rect: NSRect) {
15 let boundsRect = self.bounds
17 let roundRect = NSBezierPath()
18 roundRect.appendRoundedRect(boundsRect, xRadius: 8.0, yRadius: 8.0)
21 let darkMode = self.effectiveAppearance.name == .darkAqua
23 NSColor(red: 0.1, green: 0.1, blue: 0.1, alpha: 0.99).setFill()
25 NSColor(red: 1, green: 1, blue: 1, alpha: 0.99).setFill()
27 boundsRect.fill(using: .copy)
29 super.draw(boundsRect)